﻿<ion-view view-title="车辆检查-1.基本信息" hide-back-button="true" cache-view="false" class="vehicle">
	<ion-nav-buttons side="left">
	     <a class="button button-icon icon ion-gear-b" href="#/update/{{checkInfo.warehouse.storename}}"></a>
	</ion-nav-buttons>

	<ion-content class="has-header">
		<div class="button-bar">
			<a href="#/pendinglist/true" class="button button-block button-balanced tab-btn">要求整改<span class="warn-num" ng-if="changeListNum > 0">{{changeListNum}}</span></a>
			<a href="#/pendinglist/false" class="button button-block button-positive tab-btn">未提交记录<span class="warn-num" ng-if="notSubmitNum > 0 ">{{notSubmitNum}}</span></a>
		</div>
		<div class="actno-text">当前账号：{{checkInfo.actno}}</div>
        <form name="basicInfoForm">
		<div class="card list">
			<div class="item item-input">
				<span class="input-label positive">仓库</span>
				<div>{{checkInfo.warehouse.storename}}</div>
			</div>
			<div class="item item-input">
				<span class="input-label positive">运单号</span>
				<input type="text" placeholder="请输入运单号" ng-model="checkInfo.sealno" required>
			</div>
			<div class="item item-input">
				<span class="input-label positive">运输公司</span>
				<a class="item-icon-right gary-color" href="" ng-click="gotoTransporter()">
                    <input type="text" placeholder="请选择运输公司" ng-value="checkInfo.transporter.companyname" ng-readonly="true" required>
                    <i class="icon ion-play balanced"></i>
				</a> 
			</div>
			<div class="item item-input">
				<span class="input-label positive">车牌号</span>
				<input type="text" placeholder="请输入车牌号" ng-model="checkInfo.carno" required>
			</div>
			<div class="item item-input">
				<span class="input-label positive">车型</span>
				<select class="sel"  ng-model="checkInfo.cartypeId" ng-options="carType.id as carType.cartypename for carType in carTypes" required>
                    <option value="">请选择车型</option>
				</select>
			</div>
			<div class="item item-input">
				<span class="input-label positive">日期</span>
				<div class="gary-color">{{checkInfo.submitTime | date:'yyyy-MM-dd HH:mm'}}</div>
			</div>
		</div>
        </form>
        <div class="padding" style="position:absolute;right: 0px; bottom: 10px;width: 100%">
            <button class="button button-block  next-btn" ng-disabled="basicInfoForm.$invalid" ng-class="{true:'button-unactive',false:'button-positive'}[basicInfoForm.$invalid]" ng-click="vehicleSubmit()">下一步</button>
        </div>
	</ion-content>
  
</ion-view>

